<script setup>
import { RouterView } from 'vue-router'
import { provide, nextTick, ref } from 'vue'
const isRouterActive = ref(true)
provide('reload', () => {
  isRouterActive.value = false
  nextTick(() => {
    isRouterActive.value = true
  })
})
</script>

<template>
  <router-view v-if="isRouterActive" />
</template>

<style scoped lang="scss"></style>
